package com.study.common.solr;


/**
 * solr id枚举类
 * @Author jinsizhao
 * @CreationTime 2017年11月16日.上午10:50:22
 */
public enum SolrEntityEnums {
	PRODUCT("1", "product_"),//商品
	STORE_O2O("20", "storeO2o_"),//O2O商户
	STORE_BENYUE("21", "storeBenyue_"),//奔月商户
	LOAN("30", "loan_"),//助贷产品
	SMARTDEPOSIT("40", "smartDeposit_"),//存款产品
	COMMUNITY("50", "community_"),//社区

	
	;
    private String entityType;
    private String typePrefix;
	
	SolrEntityEnums(String entityType, String typePrefix){
        this.entityType = entityType;
        this.typePrefix = typePrefix;

    }

	public String getEntityType() {
		return entityType;
	}

    public String getTypePrefix() {
        return typePrefix;
    }
}
